# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
  
  factory :terminal_user do
    name 
    phone {rand(10**9..10**10)} 
    industry 'example industry'
    address 'example address'
    car_license 'example car license'
    user_unit 'example unit'
    driver_name 'example'
    driver_phone '15157126128'
    driver_phone2 '15157126129'
    car_unit 'example car'
    user_number {rand(1..10**2)}.to_s
  end
end
